package br.com.utfpr.menu;

import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;

import android.content.Context;
import android.widget.Toast;

public class Pessoa implements Serializable{
	private static final long serialVersionUID = 1L;
	private static String lista = "lista.txt";
	
	private String nome;
	private int id;
	private String endereco;
	private String rg;
	
	public Pessoa(String nome, String endereco, String rg, int id){
		this.nome = nome;
		this.endereco = endereco;
		this.rg = rg;
		this.id = id;
	}
	@Override
	public String toString() {
		return nome;
	}
	public String getNome() {
		return nome;
	}
	public void setNome(String nome) {
		this.nome = nome;
	}
	public String getEndereco() {
		return endereco;
	}
	public void setEndereco(String endereco) {
		this.endereco = endereco;
	}
	public String getRg() {
		return rg;
	}
	public void setRg(String rg) {
		this.rg = rg;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
	
	
}
